<?php
class typeformulaireconfig 
{
   public $configuration;
   function __construct(){
     $this->configuration = array(
  'general'=>array(
    'tableName' => 'typeformulaire',
    'isView' => False,
    'isReadOnly' => False,
    'canBeDeleted' => False,
    'hasStatus' => True,
    'hasAttach' => False,
    'description' => '',
    'orderFields' => '',
    'labelSingular' => 'Type de formulaire',
    'labelPlural' => 'Type des formulaire',
    'descriptor' => 'description',
    'timeStampable' => True,
    'formExtraTemplate' => '',
    'showExtraTemplate' => '',
    'indexExtraTemplate' => '',
    'filesPathName' => 'upload',
  ),
  'attributes'=>array(
    'id' => array( 
      'type' => 'integer',
      'size' => '',
      'label' => '',
      'help' => '',
      'list' => False,
      'show' => False,
      'search' => False,
      'notnull' => True,
      'readOnly' => False,
      'isID' => False,
      'default' => '',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => 'Principal',
      'step' => '',
      'totalfunction' => '',
      'relationType' => '',
      'relatedClass' => '',
      'alias' => 'id',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
    'code' => array( 
      'type' => 'string',
      'size' => '15',
      'label' => 'Code',
      'help' => '',
      'list' => True,
      'show' => True,
      'search' => True,
      'notnull' => True,
      'readOnly' => False,
      'isID' => False,
      'default' => '',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => 'Param&egrave;tres',
      'step' => '',
      'totalfunction' => '',
      'relationType' => '',
      'relatedClass' => '',
      'alias' => 'code',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
    'description' => array( 
      'type' => 'string',
      'size' => '',
      'label' => 'Description',
      'help' => '',
      'list' => True,
      'show' => True,
      'search' => True,
      'notnull' => True,
      'readOnly' => False,
      'isID' => False,
      'default' => '',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => 'Principal',
      'step' => '',
      'totalfunction' => '',
      'relationType' => '',
      'relatedClass' => '',
      'alias' => 'description',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
    'parent' => array( 
      'type' => 'BO',
      'size' => '',
      'label' => 'Type P&egrave;re',
      'help' => 'Si vide, ce type est une cat&eacute;gorie. Sinon, il sera une sous-categorie de celle indiqu&eacute; ici.',
      'list' => True,
      'show' => True,
      'search' => True,
      'notnull' => False,
      'readOnly' => False,
      'isID' => False,
      'default' => '',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => 'Principal',
      'step' => '',
      'totalfunction' => '',
      'relationType' => 'One To One',
      'relatedClass' => 'typeformulaire',
      'alias' => 'parent',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
    'workflow' => array( 
      'type' => 'BO',
      'size' => '',
      'label' => 'Mod&egrave;le du WorkFolw',
      'help' => '',
      'list' => True,
      'show' => True,
      'search' => True,
      'notnull' => False,
      'readOnly' => False,
      'isID' => False,
      'default' => '',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => 'Param&egrave;tres',
      'step' => '',
      'totalfunction' => '',
      'relationType' => 'One To One',
      'relatedClass' => 'workflowdef',
      'alias' => 'workflow',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
    'service' => array( 
      'type' => 'BO',
      'size' => '',
      'label' => 'Domaine',
      'help' => '',
      'list' => True,
      'show' => True,
      'search' => True,
      'notnull' => True,
      'readOnly' => False,
      'isID' => False,
      'default' => '',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => 'Param&egrave;tres',
      'step' => '',
      'totalfunction' => '',
      'relationType' => 'One To One',
      'relatedClass' => 'service',
      'alias' => 'service',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
    'showdemandelibre' => array( 
      'type' => 'boolean',
      'size' => '',
      'label' => 'Montre demandes libres',
      'help' => 'Si oui, la demande libre est incluse en ce type des demandes',
      'list' => True,
      'show' => True,
      'search' => True,
      'notnull' => False,
      'readOnly' => False,
      'isID' => False,
      'default' => '',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => 'Param&egrave;tres',
      'step' => '',
      'totalfunction' => '',
      'relationType' => '',
      'relatedClass' => '',
      'alias' => 'showdemandelibre',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
    'joursclotureauto' => array( 
      'type' => 'integer',
      'size' => '',
      'label' => 'Nombre de jours pour cl&ocirc;ture automatique',
      'help' => 'Le nombre de jours pases de la date de fermeture technique apres lesquels la demande se cl&ocirc;ture automatiquement. 0 pour utiliser le d&eacute;faut de l\'application.',
      'list' => True,
      'show' => True,
      'search' => True,
      'notnull' => False,
      'readOnly' => False,
      'isID' => False,
      'default' => '10',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => 'Param&egrave;tres',
      'step' => '',
      'totalfunction' => '',
      'relationType' => '',
      'relatedClass' => '',
      'alias' => 'joursclotureauto',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
    'conserverfiles' => array( 
      'type' => 'boolean',
      'size' => '',
      'label' => 'Conserver fichiers',
      'help' => 'Si coch&eacute;, les fichiers des demandes ne sont pas effac&eacute;s dans le processus suppression des fichiers joints',
      'list' => True,
      'show' => True,
      'search' => True,
      'notnull' => False,
      'readOnly' => False,
      'isID' => False,
      'default' => '',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => 'Param&egrave;tres',
      'step' => '',
      'totalfunction' => '',
      'relationType' => '',
      'relatedClass' => '',
      'alias' => 'conserverfiles',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
    'categories' => array( 
      'type' => 'List',
      'size' => '',
      'label' => 'Categories de demande',
      'help' => '',
      'list' => False,
      'show' => True,
      'search' => False,
      'notnull' => False,
      'readOnly' => True,
      'isID' => False,
      'default' => '',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => 'Param&egrave;tres',
      'step' => '',
      'totalfunction' => '',
      'relationType' => 'One To Many',
      'relatedClass' => 'formulairedef',
      'alias' => 'categories',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
    'activeStatus' => array( 
      'type' => 'integer', 
      'size' => '',
      'label' => 'Active Status',
      'help' => ' ',
      'list' => true,
      'show' => true,
      'search' => true,
      'notnull' => false,
      'readOnly' => false,
      'isID' => false,
      'default' => '0',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'section' => 'Status',
      'step' => '',
      'relationType' => '',
      'relatedClass' => '',
      'refClass' => '',
      'foreignAlias' => '',
      'fileName' => '',
      'fileNameAttribute' => '',
  ),
  ),
  'attributesWithTotal'=>array(
  ),
  );
 }
 }
